<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page import="java.util.Date"%>
<%@page import="java.util.Calendar"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/themes/default/easyui.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/themes/icon.css"/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value="/css/style.css"/>">

<script type="text/javascript" src="<c:url value="/js/jquery.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/jquery.easyui.min.js"/>"></script>
<script type="text/javascript"
	src="<c:url value="/js/easyui-lang-zh_CN.js"/>"></script>
</head>
<head>
<base target="_self">
<script language="javascript">
<!--
var dada = dialogArguments;
var da1 = dada[1]; 
function loaddatas(){
var tagBody;
var pf = document.all.item('printfield');
pf.insertAdjacentHTML('beforeEnd',da1); 
    
var removeRadio = document.all.tags("input");
for(var i=0; i<removeRadio.length; i++){
tagBody = removeRadio[i];
if (tagBody.getAttribute("type") == "radio"||tagBody.getAttribute("type") == "checkbox")
{
tagBody.style.display = 'none';
}
}
    
var removeHref = document.all.tags("A");
for(var i=0; i<removeHref.length; i++){
tagBody = removeHref[i];
if (tagBody.getAttribute("href") != null) 
{
tagBody.setAttribute("href","javascript:void(0)");
}
}
    
var removeImg = document.all.tags("img");
for(var i=0; i<removeImg.length; i++){
tagBody = removeImg[i];
if ( tagBody.name != 'printButton' ) 
{
tagBody.style.display = 'none';
}
}
return;
}
function startprint(){
document.all.item("startbutt").style.display='none';
window.print();
window.close();
return;
}
//-->
</script> 
</head>
<body leftMargin=0 topMargin=0 marginheight="0" marginwidth="0" onload="javascript:loaddatas();" style="word-break:break-all">
<table align="center">
<tr>
<td align="center" id="printfield"></td>
</tr>
</table>
<table width="100%" id="startbutt">
<tr>
<td align=center>
<a onclick="javascript:startprint();"><img border="0" name="printButton" src="images/dayin.gif" style="vertical-align:middle; cursor:hand"></a>
</td>
</tr>
</table>
</body>
</html>